package org.example.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.entity.Classes;
import org.example.mapper.ClassesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ClassesService extends ServiceImpl<ClassesMapper, Classes> {
    @Resource
    private ClassesMapper classesMapper;


    public List<Classes> selectbyid(String parentId) {
        return classesMapper.selectbyid(parentId);
    }
    public String selectbyid2(Integer parentId) {
        return classesMapper.selectbyid2(parentId);
    }
}
